.div1{
    position: relative;
    width: 790px;
    height: 340px;
    margin: auto;
    transition: all 1s;
}

.div1:hover .div2,.div1:hover .div3{
    display: block;

}
.div1>img{
    position: absolute;
    display: inline-block;
    cursor: pointer;
    transition: all 1s;
}

.div2{
    position: absolute;
    width:25px;
    height: 60px;
    margin-top: 140px;
    background-color:rgba(0,0,0,0.3);
    z-index: 5;
    display: none;
    cursor: pointer;

}
.div2:hover{
    position: absolute;
    width:25px;
    height: 60px;
    margin-top: 140px;
    background-color:rgba(0,0,0,0.6);
    z-index: 5;
    display: none;
    cursor: pointer;
}

.div3{
    position: absolute;
    margin-left: 765px;
    width:25px;
    height: 60px;
    margin-top: 140px;
    background-color:rgba(0,0,0,0.3);
    z-index: 5;
    display:none;
    cursor: pointer;

}
.div3:hover{
    position: absolute;
    margin-left: 765px;
    width:25px;
    height: 60px;
    margin-top: 140px;
    background-color:rgba(0,0,0,0.6);
    z-index: 5;
    display:none;
    cursor: pointer;

}
.span1{
    margin-left:6px;
    line-height: 60px;
    font-weight: bold;
    color: #ffffff;

}